package com.ourteam.workspace.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:30 Warning ! This file will be overwrite when
 * regenerate !
 */
public class WorkspaceConfigPropertyDAOQueryBean extends BaseQueryBean {

  public WorkspaceConfigPropertyDAOQueryBean() {
    super();
  }

  public WorkspaceConfigPropertyDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public WorkspaceConfigPropertyDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Id, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Id, "id");
    }
  }

  public void addConfigPropertySelectProperty() {
    addConfigPropertySelectProperty("configProperty");
  }

  public void addConfigPropertySelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.ConfigProperty, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.ConfigProperty, "configProperty");
    }
  }

  public void addConfigValueSelectProperty() {
    addConfigValueSelectProperty("configValue");
  }

  public void addConfigValueSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.ConfigValue, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.ConfigValue, "configValue");
    }
  }

  public void addDescriptionSelectProperty() {
    addDescriptionSelectProperty("description");
  }

  public void addDescriptionSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Description, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Description, "description");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Status, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.Status, "status");
    }
  }

  public void addWorkspaceConfigIdSelectProperty() {
    addWorkspaceConfigIdSelectProperty("workspaceConfigId");
  }

  public void addWorkspaceConfigIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceConfigId, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceConfigId, "workspaceConfigId");
    }
  }

  public void addWorkspaceIdSelectProperty() {
    addWorkspaceIdSelectProperty("workspaceId");
  }

  public void addWorkspaceIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceId, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceId, "workspaceId");
    }
  }

  public void addWorkspaceConfigItemSelectProperty() {
    addWorkspaceConfigItemSelectProperty("workspaceConfigItem");
  }

  public void addWorkspaceConfigItemSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem, aAlias);
    } else {
      addSelectProperty(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem, "workspaceConfigItem");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addConfigPropertySelectProperty();

    addConfigValueSelectProperty();

    addDescriptionSelectProperty();

    addStatusSelectProperty();

    addWorkspaceConfigIdSelectProperty();

    addWorkspaceIdSelectProperty();

    addWorkspaceConfigItemSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<WorkspaceConfigPropertyDAOQueryBean> {

    protected Criteria(WorkspaceConfigPropertyDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.Id
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.Id
              + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.Id
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.Id
              + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.Id + " is null OR " + IWorkspaceConfigPropertyDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andConfigPropertyIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " is null");
      return this;
    }

    public Criteria andConfigPropertyIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " is not null");
      return this;
    }

    public Criteria andConfigPropertyIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.ConfigProperty
              + " <> ''");
      return this;
    }

    public Criteria andConfigPropertyIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.ConfigProperty
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.ConfigProperty
              + " = '')");
      return this;
    }

    public Criteria andConfigPropertyEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " = ", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyNotEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " <>", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.ConfigProperty
              + " <>",
          value,
          "configProperty");
      return this;
    }

    public Criteria andConfigPropertyNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyGreaterThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " >", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " >=", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyLessThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " <", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " <=", value, "configProperty");
      return this;
    }

    public Criteria andConfigPropertyLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigProperty);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigPropertyLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty + " like",
          buffer.toString(),
          "configProperty");
      return this;
    }

    public Criteria andConfigPropertyNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty + " not like",
          buffer.toString(),
          "configProperty");
      return this;
    }

    public Criteria andConfigPropertyIn(List<String> values) {

      if (values.size() == 1) {
        return andConfigPropertyEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " in", values, "configProperty");
        return this;
      }
    }

    public Criteria andConfigPropertyNotIn(List<String> values) {
      if (values.size() == 1) {
        return andConfigPropertyNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.ConfigProperty + " not in", values, "configProperty");
        return this;
      }
    }

    public Criteria andConfigPropertyIn(String[] values) {

      if (values.length == 1) {
        return andConfigPropertyEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.ConfigProperty + " in",
            Arrays.asList(values),
            "configProperty");
        return this;
      }
    }

    public Criteria andConfigPropertyNotIn(String[] values) {
      if (values.length == 1) {
        return andConfigPropertyNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.ConfigProperty + " not in",
            Arrays.asList(values),
            "configProperty");
        return this;
      }
    }

    public Criteria andConfigPropertyIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigProperty + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigPropertyBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty + " between",
          value1,
          value2,
          "configProperty");
      return this;
    }

    public Criteria andConfigPropertyNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigProperty + " not between",
          value1,
          value2,
          "configProperty");
      return this;
    }

    public Criteria andConfigValueIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " is null");
      return this;
    }

    public Criteria andConfigValueIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " is not null");
      return this;
    }

    public Criteria andConfigValueIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.ConfigValue
              + " <> ''");
      return this;
    }

    public Criteria andConfigValueIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.ConfigValue
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.ConfigValue
              + " = '')");
      return this;
    }

    public Criteria andConfigValueEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " = ", value, "configValue");
      return this;
    }

    public Criteria andConfigValueEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueNotEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " <>", value, "configValue");
      return this;
    }

    public Criteria andConfigValueNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.ConfigValue
              + " <>",
          value,
          "configValue");
      return this;
    }

    public Criteria andConfigValueNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueGreaterThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " >", value, "configValue");
      return this;
    }

    public Criteria andConfigValueGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " >=", value, "configValue");
      return this;
    }

    public Criteria andConfigValueGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueLessThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " <", value, "configValue");
      return this;
    }

    public Criteria andConfigValueLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " <=", value, "configValue");
      return this;
    }

    public Criteria andConfigValueLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.ConfigValue);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andConfigValueLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue + " like", buffer.toString(), "configValue");
      return this;
    }

    public Criteria andConfigValueNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue + " not like", buffer.toString(), "configValue");
      return this;
    }

    public Criteria andConfigValueIn(List<String> values) {

      if (values.size() == 1) {
        return andConfigValueEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " in", values, "configValue");
        return this;
      }
    }

    public Criteria andConfigValueNotIn(List<String> values) {
      if (values.size() == 1) {
        return andConfigValueNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " not in", values, "configValue");
        return this;
      }
    }

    public Criteria andConfigValueIn(String[] values) {

      if (values.length == 1) {
        return andConfigValueEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.ConfigValue + " in", Arrays.asList(values), "configValue");
        return this;
      }
    }

    public Criteria andConfigValueNotIn(String[] values) {
      if (values.length == 1) {
        return andConfigValueNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.ConfigValue + " not in",
            Arrays.asList(values),
            "configValue");
        return this;
      }
    }

    public Criteria andConfigValueIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.ConfigValue + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andConfigValueBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue + " between", value1, value2, "configValue");
      return this;
    }

    public Criteria andConfigValueNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.ConfigValue + " not between", value1, value2, "configValue");
      return this;
    }

    public Criteria andDescriptionIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " is null");
      return this;
    }

    public Criteria andDescriptionIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " is not null");
      return this;
    }

    public Criteria andDescriptionIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.Description
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.Description
              + " <> ''");
      return this;
    }

    public Criteria andDescriptionIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.Description
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.Description
              + " = '')");
      return this;
    }

    public Criteria andDescriptionEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " = ", value, "description");
      return this;
    }

    public Criteria andDescriptionEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionNotEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " <>", value, "description");
      return this;
    }

    public Criteria andDescriptionNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.Description
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.Description
              + " <>",
          value,
          "description");
      return this;
    }

    public Criteria andDescriptionNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionGreaterThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " >", value, "description");
      return this;
    }

    public Criteria andDescriptionGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " >=", value, "description");
      return this;
    }

    public Criteria andDescriptionGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionLessThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " <", value, "description");
      return this;
    }

    public Criteria andDescriptionLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Description + " <=", value, "description");
      return this;
    }

    public Criteria andDescriptionLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Description);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andDescriptionLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.Description + " like", buffer.toString(), "description");
      return this;
    }

    public Criteria andDescriptionNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.Description + " not like", buffer.toString(), "description");
      return this;
    }

    public Criteria andDescriptionIn(List<String> values) {

      if (values.size() == 1) {
        return andDescriptionEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Description + " in", values, "description");
        return this;
      }
    }

    public Criteria andDescriptionNotIn(List<String> values) {
      if (values.size() == 1) {
        return andDescriptionNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Description + " not in", values, "description");
        return this;
      }
    }

    public Criteria andDescriptionIn(String[] values) {

      if (values.length == 1) {
        return andDescriptionEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.Description + " in", Arrays.asList(values), "description");
        return this;
      }
    }

    public Criteria andDescriptionNotIn(String[] values) {
      if (values.length == 1) {
        return andDescriptionNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.Description + " not in",
            Arrays.asList(values),
            "description");
        return this;
      }
    }

    public Criteria andDescriptionIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Description + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andDescriptionBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.Description + " between", value1, value2, "description");
      return this;
    }

    public Criteria andDescriptionNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.Description + " not between", value1, value2, "description");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.Status
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.Status
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.Status
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.Status
              + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceConfigPropertyDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceConfigPropertyDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andWorkspaceConfigIdIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " is null");
      return this;
    }

    public Criteria andWorkspaceConfigIdIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " is not null");
      return this;
    }

    public Criteria andWorkspaceConfigIdIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " <> ''");
      return this;
    }

    public Criteria andWorkspaceConfigIdIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " = '')");
      return this;
    }

    public Criteria andWorkspaceConfigIdEqualTo(long value) {
      return andWorkspaceConfigIdEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " = ", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdNotEqualTo(long value) {
      return andWorkspaceConfigIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdNotEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " <>", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdNotEqualToOrIsNull(long value) {
      return andWorkspaceConfigIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigId
              + " <>",
          value,
          "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThan(long value) {
      return andWorkspaceConfigIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdGreaterThan(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " >", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThanOrEqualTo(long value) {
      return andWorkspaceConfigIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " >=", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThan(long value) {
      return andWorkspaceConfigIdLessThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdLessThan(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " <", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThanOrEqualTo(long value) {
      return andWorkspaceConfigIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceConfigIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " <=", value, "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceConfigIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " in", values, "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdNotIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceConfigIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not in", values, "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andWorkspaceConfigIdEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " in", values, "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andWorkspaceConfigIdNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not in", values, "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andWorkspaceConfigIdEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " in",
            Arrays.asList(values),
            "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andWorkspaceConfigIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not in",
            Arrays.asList(values),
            "workspaceConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceConfigIdIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigIdBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " between",
          value1,
          value2,
          "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " between",
          value1,
          value2,
          "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdNotBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not between",
          value1,
          value2,
          "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceConfigIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigId + " not between",
          value1,
          value2,
          "workspaceConfigId");
      return this;
    }

    public Criteria andWorkspaceIdIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " is null");
      return this;
    }

    public Criteria andWorkspaceIdIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " is not null");
      return this;
    }

    public Criteria andWorkspaceIdIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.WorkspaceId
              + " <> ''");
      return this;
    }

    public Criteria andWorkspaceIdIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.WorkspaceId
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceId
              + " = '')");
      return this;
    }

    public Criteria andWorkspaceIdEqualTo(long value) {
      return andWorkspaceIdEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " = ", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdNotEqualTo(long value) {
      return andWorkspaceIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdNotEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " <>", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdNotEqualToOrIsNull(long value) {
      return andWorkspaceIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceId
              + " <>",
          value,
          "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdGreaterThan(long value) {
      return andWorkspaceIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdGreaterThan(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " >", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdGreaterThanOrEqualTo(long value) {
      return andWorkspaceIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " >=", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdLessThan(long value) {
      return andWorkspaceIdLessThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdLessThan(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " <", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdLessThanOrEqualTo(long value) {
      return andWorkspaceIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " <=", value, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " in", values, "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdNotIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " not in", values, "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andWorkspaceIdEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " in", values, "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andWorkspaceIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " not in", values, "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andWorkspaceIdEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceId + " in", Arrays.asList(values), "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andWorkspaceIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceId + " not in",
            Arrays.asList(values),
            "workspaceId");
        return this;
      }
    }

    public Criteria andWorkspaceIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceIdBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId + " between", value1, value2, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId + " between", value1, value2, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdNotBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId + " not between", value1, value2, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceId + " not between", value1, value2, "workspaceId");
      return this;
    }

    public Criteria andWorkspaceConfigItemIsNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " is null");
      return this;
    }

    public Criteria andWorkspaceConfigItemIsNotNull() {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " is not null");
      return this;
    }

    public Criteria andWorkspaceConfigItemIsNotEmpty() {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " is not null AND "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " <> ''");
      return this;
    }

    public Criteria andWorkspaceConfigItemIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " = '')");
      return this;
    }

    public Criteria andWorkspaceConfigItemEqualTo(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " = ", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemNotEqualTo(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " <>", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " is null OR "
              + IWorkspaceConfigPropertyDAO.WorkspaceConfigItem
              + " <>",
          value,
          "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThan(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " >", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThanOrEqualTo(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " >=", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThan(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " <", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThanOrEqualTo(String value) {

      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " <=", value, "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceConfigItemLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " like",
          buffer.toString(),
          "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " not like",
          buffer.toString(),
          "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemIn(List<String> values) {

      if (values.size() == 1) {
        return andWorkspaceConfigItemEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " in", values, "workspaceConfigItem");
        return this;
      }
    }

    public Criteria andWorkspaceConfigItemNotIn(List<String> values) {
      if (values.size() == 1) {
        return andWorkspaceConfigItemNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " not in",
            values,
            "workspaceConfigItem");
        return this;
      }
    }

    public Criteria andWorkspaceConfigItemIn(String[] values) {

      if (values.length == 1) {
        return andWorkspaceConfigItemEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " in",
            Arrays.asList(values),
            "workspaceConfigItem");
        return this;
      }
    }

    public Criteria andWorkspaceConfigItemNotIn(String[] values) {
      if (values.length == 1) {
        return andWorkspaceConfigItemNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " not in",
            Arrays.asList(values),
            "workspaceConfigItem");
        return this;
      }
    }

    public Criteria andWorkspaceConfigItemIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceConfigItemBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " between",
          value1,
          value2,
          "workspaceConfigItem");
      return this;
    }

    public Criteria andWorkspaceConfigItemNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceConfigPropertyDAO.WorkspaceConfigItem + " not between",
          value1,
          value2,
          "workspaceConfigItem");
      return this;
    }
  }
}
